package com.lucun.es_transaction.service;

import com.lucun.es_transaction.entity.Address;
import com.lucun.es_transaction.util.JsonResult;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface AddressService {
    /*添加*/
    JsonResult<?> insert(Address address, HttpServletRequest request);
    /*删除*/
    JsonResult<?> delete(Integer id,HttpServletRequest request);
    /*修改*/
    JsonResult<?> update(Address address,HttpServletRequest request);
    /*查询*/
    List<Address> find(HttpServletRequest request);
}
